<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    
    <script>
        document.write('要输出的内容')
        alert('要输出的内容')

        document.write('我是div标签')
        document.write('<h1>我是标题</h1>')

        prompt('请输入您的姓名:')

        console.log('看看对不对')
        console.log('日志')
    </script>
</head>
<body>
    
</body>
</html>